package gradle.common.feign.config.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 自定义校验权限注解
 * <p>
 * {@link PermissionAspect}
 *
 * @author 1141193930@qq.com
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface RequiredPermission {
    /**
     * 权限标识，如 "user:read"
     */
    String value();
}